package config

import "fmt"

type System struct {
	Host     string `yaml:"host"`
	Port     int    `yaml:"port"`
	Env      string `yaml:"env"`
	Static   string `yaml:"static"`
	Template string `yaml:"template"`
}

func (s System) Addr() string {
	return fmt.Sprintf("%s:%d", s.Host, s.Port)
}
